package com.hxkj.cst.chengshuitong.ui.adapter

import com.hxkj.cst.chengshuitong.XzqhBean
import com.hxkj.cst.chengshuitong.widget.BaseWheelViewAdapter

/**
 * 作者：LuoYang
 * 时间：2017/6/1:9:28
 * 邮箱：18981443691@163.com
 * 说明：
 */
class WheelViewAdapter(val areaList: ArrayList<XzqhBean>) : BaseWheelViewAdapter<XzqhBean> {

    override fun getCount(): Int = areaList.size

    override fun getItemText(position: Int): String? = areaList.get(position).XZQHMC

    override fun getItemContent(position: Int): XzqhBean = areaList.get(position)
}